package com.wx.mall.goods.service.impl;

import com.wx.mall.common.vo.user.DemoVo;
import com.wx.mall.feign.FeignDemoClient;
import com.wx.mall.goods.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 模板表 服务实现类
 * </p>
 *
 * @author j
 * @since 2020-03-15
 */
@Service
public class DemoServiceImpl implements DemoService {

    @Autowired
    FeignDemoClient feignDemoClient;

    @Override
    public DemoVo testFeign(int id) {
        return feignDemoClient.info(id);
    }
}
